\hypertarget{class_mathematica_translator_1_1_m_t_list}{
\section{\-Mathematica\-Translator\-:\-:\-M\-T\-List \-Class \-Reference}
\label{class_mathematica_translator_1_1_m_t_list}\index{\-Mathematica\-Translator\-::\-M\-T\-List@{\-Mathematica\-Translator\-::\-M\-T\-List}}
}


{\ttfamily \#include $<$\-M\-T\-List.\-hpp$>$}

\-Inheritance diagram for \-Mathematica\-Translator\-:\-:\-M\-T\-List\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{class_mathematica_translator_1_1_m_t_list}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_mathematica_translator_1_1_m_t_list_a8e1d662367639d651458792e311aef0d}{
void {\bfseries set\-Identifier} ()}
\label{class_mathematica_translator_1_1_m_t_list_a8e1d662367639d651458792e311aef0d}

\item 
\hypertarget{class_mathematica_translator_1_1_m_t_list_ad5cb4a6945f3dedf447439ec06bccb55}{
{\bfseries \-M\-T\-List} (\-Expression\-List $\ast$list\-Elements)}
\label{class_mathematica_translator_1_1_m_t_list_ad5cb4a6945f3dedf447439ec06bccb55}

\item 
virtual std\-::string $\ast$ \hyperlink{class_mathematica_translator_1_1_m_t_list_ac722fb2a5883294dbddb9447f2998b4f}{generate\-Code} (\hyperlink{class_mathematica_translator_1_1_code_gen_context}{\-Code\-Gen\-Context} \&context)
\item 
\hypertarget{class_mathematica_translator_1_1_m_t_list_a00b0dbb72fa5bff8619d6828f0ad083a}{
virtual std\-::string $\ast$ \hyperlink{class_mathematica_translator_1_1_m_t_list_a00b0dbb72fa5bff8619d6828f0ad083a}{get\-Type} ()}
\label{class_mathematica_translator_1_1_m_t_list_a00b0dbb72fa5bff8619d6828f0ad083a}

\begin{DoxyCompactList}\small\item\em \-Get the best type that fits the underlying expression. \end{DoxyCompactList}\item 
virtual std\-::string $\ast$ \hyperlink{class_mathematica_translator_1_1_m_t_list_a89fa02f97ddbdc9c8d053a5d35039edd}{get\-Number\-Of\-Elements} ()
\item 
\hypertarget{class_mathematica_translator_1_1_m_t_list_ae3dca43936f51775030c60ead1b4ca1c}{
virtual int {\bfseries get\-Class\-Type} ()}
\label{class_mathematica_translator_1_1_m_t_list_ae3dca43936f51775030c60ead1b4ca1c}

\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_mathematica_translator_1_1_m_t_list_a0aa480427f43adc52e51427ec02eada5}{
\-Expression\-List $\ast$ {\bfseries list\-Elements}}
\label{class_mathematica_translator_1_1_m_t_list_a0aa480427f43adc52e51427ec02eada5}

\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-List representation. \-Direct to \-C\-U\-D\-A translation. 

\subsection{\-Member \-Function \-Documentation}
\hypertarget{class_mathematica_translator_1_1_m_t_list_ac722fb2a5883294dbddb9447f2998b4f}{
\index{\-Mathematica\-Translator\-::\-M\-T\-List@{\-Mathematica\-Translator\-::\-M\-T\-List}!generate\-Code@{generate\-Code}}
\index{generate\-Code@{generate\-Code}!MathematicaTranslator::MTList@{\-Mathematica\-Translator\-::\-M\-T\-List}}
\subsubsection[{generate\-Code}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string $\ast$ \-Mathematica\-Translator\-::\-M\-T\-List\-::generate\-Code (
\begin{DoxyParamCaption}
\item[{{\bf \-Code\-Gen\-Context} \&}]{context}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_mathematica_translator_1_1_m_t_list_ac722fb2a5883294dbddb9447f2998b4f}
\-Main method to print the result of translating into \-C++ from \-Mathematica 
\begin{DoxyParams}{\-Parameters}
{\em context} & current variable context \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
allocated string with translation 
\end{DoxyReturn}


\-Reimplemented from \hyperlink{class_mathematica_translator_1_1_m_t_expression_ae60846398fde87b09c242b5ea263586e}{\-Mathematica\-Translator\-::\-M\-T\-Expression}.

\hypertarget{class_mathematica_translator_1_1_m_t_list_a89fa02f97ddbdc9c8d053a5d35039edd}{
\index{\-Mathematica\-Translator\-::\-M\-T\-List@{\-Mathematica\-Translator\-::\-M\-T\-List}!get\-Number\-Of\-Elements@{get\-Number\-Of\-Elements}}
\index{get\-Number\-Of\-Elements@{get\-Number\-Of\-Elements}!MathematicaTranslator::MTList@{\-Mathematica\-Translator\-::\-M\-T\-List}}
\subsubsection[{get\-Number\-Of\-Elements}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string $\ast$ \-Mathematica\-Translator\-::\-M\-T\-List\-::get\-Number\-Of\-Elements (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_mathematica_translator_1_1_m_t_list_a89fa02f97ddbdc9c8d053a5d35039edd}
\-Get the number of elements in underlying expression \begin{DoxyNote}{\-Note}
for primitves returns 1, for vector/matrix returns number of elements 
\end{DoxyNote}
\begin{DoxyReturn}{\-Returns}
number of elements as string 
\end{DoxyReturn}


\-Reimplemented from \hyperlink{class_mathematica_translator_1_1_m_t_expression_a47c66480bdb9dca746c79b3d098fb24e}{\-Mathematica\-Translator\-::\-M\-T\-Expression}.



\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-M\-T\-List.\-hpp\item 
\-M\-T\-List.\-cpp\end{DoxyCompactItemize}
